package com.windoent.yugioh.bean;

import java.util.List;

/**
 * author : robert
 * date   : 2021/6/21 10:49
 * desc   :
 */
public class MyMsgBean {
    /**
     * code : 200
     * data : {"res":[{"cnt":0,"first":{"name":"暂无通知","CreatedAt":"0001-01-01T00:00:00Z","view_time":""},"name":"系统通知"},{"cnt":0,"first":{"name":"暂无通知","CreatedAt":"0001-01-01T00:00:00Z","view_time":""},"name":"赛事通知"}]}
     * msg : 返回成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        private List<ResBean> res;

        public List<ResBean> getRes() {
            return res;
        }

        public void setRes(List<ResBean> res) {
            this.res = res;
        }

        public static class ResBean {
            /**
             * cnt : 0
             * first : {"name":"暂无通知","CreatedAt":"0001-01-01T00:00:00Z","view_time":""}
             * name : 系统通知
             */

            private int cnt;
            private FirstBean first;
            private String name;

            public int getCnt() {
                return cnt;
            }

            public void setCnt(int cnt) {
                this.cnt = cnt;
            }

            public FirstBean getFirst() {
                return first;
            }

            public void setFirst(FirstBean first) {
                this.first = first;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public static class FirstBean {
                /**
                 * name : 暂无通知
                 * CreatedAt : 0001-01-01T00:00:00Z
                 * view_time :
                 */

                private String name;
                private String CreatedAt;
                private String view_time;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getCreatedAt() {
                    return CreatedAt;
                }

                public void setCreatedAt(String CreatedAt) {
                    this.CreatedAt = CreatedAt;
                }

                public String getView_time() {
                    return view_time;
                }

                public void setView_time(String view_time) {
                    this.view_time = view_time;
                }
            }
        }
    }
}
